﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;

public partial class ybqy_print_1_9 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        SqlConnection sqlcon = new SqlConnection();
        sqlcon.ConnectionString = ConfigurationManager.ConnectionStrings["SqlConnectionString"].ConnectionString;
        sqlcon.Open();

        SqlCommand sqlcmd = new SqlCommand("select * from a01109 where ShenBaoNianDu='" + Session["ShenBaoNianDu"] + "' and qiyeid=" + Session["qiyeid"], sqlcon);

        SqlDataReader reader = sqlcmd.ExecuteReader(CommandBehavior.CloseConnection);
        if (!IsPostBack)
        {
            int yy = 0;
            while (reader.Read())
            {
                yy = 1;
                if (reader["code"].ToString() == "Z90")
                {
                    PRODU_CNT1.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT1.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE1.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT1.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT1.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE1.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE1.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER1.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT1.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT1.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT1.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT1.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT1.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT1.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID1.Checked = true;
                    }
                }

                //展现含铬废物
                if (reader["code"].ToString() == "Z21")
                {
                    PRODU_CNT2.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT2.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE2.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT2.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT2.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE2.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE2.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER2.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT2.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT2.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT2.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT2.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT2.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT2.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID2.Checked = true;
                    }
                }

                //展现含铜废物
                if (reader["code"].ToString() == "Z22")
                {
                    PRODU_CNT3.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT3.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE3.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT3.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT3.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE3.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE3.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER3.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT3.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT3.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT3.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT3.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT3.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT3.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID3.Checked = true;
                    }
                }
                //展现含铅废物
                if (reader["code"].ToString() == "Z31")
                {
                    PRODU_CNT4.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT4.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE4.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT4.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT4.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE4.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE4.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER4.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT4.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT4.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT4.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT4.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT4.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT4.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID4.Checked = true;
                    }
                }

                //展现废有机溶剂
                if (reader["code"].ToString() == "Z42")
                {
                    PRODU_CNT5.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT5.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE5.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT5.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT5.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE5.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE5.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER5.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT5.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT5.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT5.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT5.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT5.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT5.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID5.Checked = true;
                    }
                }

                //展现废矿物质
                if (reader["code"].ToString() == "Z08")
                {
                    PRODU_CNT6.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT6.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE6.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT6.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT6.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE6.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE6.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER6.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT6.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT6.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT6.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT6.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT6.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT6.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID6.Checked = true;
                    }
                }


                //展现医疗废物
                if (reader["code"].ToString() == "Z02")
                {
                    PRODU_CNT7.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT7.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE7.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT7.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT7.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE7.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE7.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER7.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT7.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT7.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT7.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT7.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT7.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT7.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID7.Checked = true;
                    }
                }

                //展现危险废物其它
                if (reader["code"].ToString() == "Z89")
                {
                    PRODU_CNT8.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT8.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE8.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT8.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT8.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE8.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE8.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER8.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT8.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT8.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT8.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT8.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT8.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT8.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID8.Checked = true;
                    }
                }

                //展现冶炼废物
                if (reader["code"].ToString() == "Z81")
                {
                    PRODU_CNT9.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT9.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE9.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT9.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT9.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE9.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE9.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER9.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT9.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT9.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT9.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT9.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT9.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT9.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID9.Checked = true;
                    }
                }

                //展现煤粉灰
                if (reader["code"].ToString() == "Z71")
                {
                    PRODU_CNT10.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT10.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE10.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT10.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT10.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE10.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE10.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER10.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT10.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT10.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT10.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT10.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT10.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT10.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID10.Checked = true;
                    }
                }

                //展现炉渣
                if (reader["code"].ToString() == "Z72")
                {
                    PRODU_CNT11.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT11.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE11.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT11.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT11.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE11.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE11.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER11.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT11.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT11.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT11.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT11.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT11.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT11.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID11.Checked = true;
                    }
                }

                //展现煤矸石
                if (reader["code"].ToString() == "Z75")
                {
                    PRODU_CNT12.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT12.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE12.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT12.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT12.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE12.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE12.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER12.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT12.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT12.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT12.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT12.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT12.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT12.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID12.Checked = true;
                    }
                }

                //展现尾矿
                if (reader["code"].ToString() == "Z76")
                {
                    PRODU_CNT13.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT13.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE13.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT13.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT13.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE13.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE13.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER13.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT13.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT13.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT13.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT13.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT13.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT13.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID13.Checked = true;
                    }
                }

                //展现放射性废物
                if (reader["code"].ToString() == "F01")
                {
                    PRODU_CNT14.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT14.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE14.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT14.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT14.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE14.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE14.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER14.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT14.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT14.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT14.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT14.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT14.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT14.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID14.Checked = true;
                    }
                }

                //展现其他废物
                if (reader["code"].ToString() == "Z99")
                {
                    PRODU_CNT15.Text = reader["PRODU_CNT"].ToString();
                    HARM_PERCENT15.Text = reader["HARM_PERCENT"].ToString();
                    SOLID_SUMREUSE15.Text = reader["SOLID_SUMREUSE"].ToString();
                    SOLID_LASTYSAVECNT15.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                    DEAL_COUNT15.Text = reader["DEAL_COUNT"].ToString();
                    SOLID_REACHDISPOSE15.Text = reader["SOLID_REACHDISPOSE"].ToString();
                    SOLID_OVERDISPOSE15.Text = reader["SOLID_OVERDISPOSE"].ToString();
                    GO_CENTER15.Text = reader["GO_CENTER"].ToString();
                    SOLID_DISPOSECOUNT15.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                    SOLID_COUNT15.Text = reader["SOLID_COUNT"].ToString();
                    REACH_SAVECNT15.Text = reader["REACH_SAVECNT"].ToString();
                    OVER_SAVECNT15.Text = reader["OVER_SAVECNT"].ToString();
                    SOLID_SUMCOUNT15.Text = reader["SOLID_SUMCOUNT"].ToString();
                    YEAR_SUMCOUNT15.Text = reader["YEAR_SUMCOUNT"].ToString();
                    if (reader["IF_MOVE_ID"].ToString() == "1")
                    {
                        IF_MOVE_ID15.Checked = true;
                    }
                }

            }
            //
            string strsql = @"select sum(PRODU_CNT) as PRODU_CNT,
sum(SOLID_SUMREUSE) as SOLID_SUMREUSE,
sum(SOLID_LASTYSAVECNT) as SOLID_LASTYSAVECNT,
sum(DEAL_COUNT) as DEAL_COUNT,
sum(SOLID_REACHDISPOSE) as SOLID_REACHDISPOSE,
sum(SOLID_OVERDISPOSE) as SOLID_OVERDISPOSE,
sum(GO_CENTER) as GO_CENTER,
sum(SOLID_DISPOSECOUNT) as SOLID_DISPOSECOUNT,
sum(SOLID_COUNT) as SOLID_COUNT,
sum(REACH_SAVECNT) as REACH_SAVECNT,
sum(OVER_SAVECNT) as OVER_SAVECNT,
sum(SOLID_SUMCOUNT) as SOLID_SUMCOUNT,
sum(YEAR_SUMCOUNT) as YEAR_SUMCOUNT from a01109 where ShenBaoNianDu='" + Session["ShenBaoNianDu"] + "' and qiyeid=" + Session["qiyeid"];
            sqlcmd.CommandText = strsql;
            reader.Close();
            sqlcon.Open();
            reader = sqlcmd.ExecuteReader(CommandBehavior.CloseConnection);

            if (reader.Read())
            {
                PRODU_CNT16.Text = reader["PRODU_CNT"].ToString();
                SOLID_SUMREUSE16.Text = reader["SOLID_SUMREUSE"].ToString();
                SOLID_LASTYSAVECNT16.Text = reader["SOLID_LASTYSAVECNT"].ToString();
                DEAL_COUNT16.Text = reader["DEAL_COUNT"].ToString();
                SOLID_REACHDISPOSE16.Text = reader["SOLID_REACHDISPOSE"].ToString();
                SOLID_OVERDISPOSE16.Text = reader["SOLID_OVERDISPOSE"].ToString();
                GO_CENTER16.Text = reader["GO_CENTER"].ToString();
                SOLID_DISPOSECOUNT16.Text = reader["SOLID_DISPOSECOUNT"].ToString();
                SOLID_COUNT16.Text = reader["SOLID_COUNT"].ToString();
                REACH_SAVECNT16.Text = reader["REACH_SAVECNT"].ToString();
                OVER_SAVECNT16.Text = reader["OVER_SAVECNT"].ToString();
                SOLID_SUMCOUNT16.Text = reader["SOLID_SUMCOUNT"].ToString();
                YEAR_SUMCOUNT16.Text = reader["YEAR_SUMCOUNT"].ToString();
            }

        }
    }
}